<template>
    <div class="swiper">
<van-swipe :autoplay="3000" lazy-render>
  <van-swipe-item v-for="image in images" :key="image">
    <img :src="image.image_src" />
  </van-swipe-item>
</van-swipe>
    </div>
</template>

<script setup>
const props = defineProps(['images'])
</script>

<style lang="scss" scoped>
.swiper{
    width: 100%;
    height: 18rem;
    .van-swipe,.van-swipe-item,img{
        width: 100%;
        height: 100%;
    }
}
</style>